package com.fifth.common.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("g_brand")
@ApiModel(value = "Brand对象", description = "")
public class Brand implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Integer id;

    @ApiModelProperty("品牌名称")
    private String brandname;

    @ApiModelProperty("审核状态")
    private Integer status;

    @ApiModelProperty("逻辑删除 0未删除 1已删除")
    @TableLogic
    private Integer isDeleted;

    @ApiModelProperty("审核备注")
    private String checkContent;

    @ApiModelProperty("类别id")
    private Integer sortid;

    @ApiModelProperty(hidden = true)
    @TableField(exist = false)
    private Sort sort;
}
